package com.zhuiyun.project.api.venuemanagement.service;

import com.zhuiyun.project.api.venuemanagement.entity.BanRecord;
import com.zhuiyun.project.api.venuemanagement.model.VenueAddModel;
import com.zhuiyun.project.common.errorCode.CommonException;
import com.zhuiyun.project.common.response.CommonResult;
import com.zhuiyun.project.utils.pageUtil.PageRequest;
import org.springframework.web.multipart.MultipartFile;

/**
 * @InterfaceName VenueReviewService
 * @Description TODO
 * @Author wuwan
 * @Date 2023/12/6 10:54
 **/
public interface VenueReviewService {
    /*
     * @Author wuwan
     * @Description 添加场馆
     * @Date 2023/11/2 14:16
     * @Return
     */
    CommonResult addVenueReview(VenueAddModel venueAddModel, MultipartFile file) throws CommonException;
    /*
    * @Author wuwan
    * @Description 查询所有未授权场馆
    * @Date 2023/12/6 11:08
    * @Return
    */
    CommonResult selectVenueReview(PageRequest pageRequest, String userName, String phone);
    /*
    * @Author wuwan
    * @Description 场馆账号授权
    * @Date 2023/12/7 9:41
    * @Return
    */
    CommonResult upVenueReview(BanRecord banRecord);
}
